package com.qqt.csr.message.event.intrasite.workorder;

import com.qqt.csr.message.event.Template;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: yang hao
 * @Date: 2024/12/11 11:35
 * @Description: workOrder事件源
 **/
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class WorkOrderEventSource {

    /**
     * 工单id
     */
    private long workOrderId;

    /**
     * 工单名称
     */
    private String workOrderName;

    /**
     * 事件类型
     */
    private Template eventType;

    /**
     * 内容参数
     */
    private Object[] params;

    /**
     * 扩展字段
     */
    private String ext;

    /**
     * 链接
     */
    private String linkUrl;

    /**
     * 接收方id集合
     */
    private List<Long> recipientIds;

}
